<template>
  <div class="main_text">
    <div>
      <span class="weclome">欢迎来到蜜蜂语音哟~</span>
    </div>
    <div class="company-text">
      <span class="company">河南本清文化传媒有限公司</span>
    </div>
    <div class="button">
      <div class="download" @click="download(1)">
        <img src="../../assets/ios.png" alt="苹果" title="苹果"/>
        <span>苹果</span>
      </div>
      <div class="download" @click="download(2)">
        <img src="../../assets/anroid.png" alt="安卓" title="安卓"/>
        <span>安卓</span>
      </div>
      <div class="download" @click="download(3)">
        <img src="../../assets/mumu.png" alt="模拟器" title="MuMu模拟器专属"/>
        <span>mumu模拟器</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "welcomeYext",
  methods: {
    download(num) {
      this.$emit("download", num);
    },
  },
};
</script>

<style lang="scss" scoped>
.main_text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  .weclome {
    color: aliceblue;
    font-family: "华文琥珀";
    font-size: 60rem;
  }
  .company-text {
    margin-top: 100rem;
    text-align: center;
    .company {
      color: aliceblue;
      font-size: 30rem;
      font-weight: bold;
    }
  }
  .button {
    margin-top: 300rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .download {
      display: flex;
      justify-content: space-around;
      align-items: center;
      border: 1rem solid #fff;
      padding: 5rem 10rem;
      border-radius: 40rem;
      width: 140rem;
      height: 60rem;
      img {
        width: 48rem;
        height: 48rem;
      }
      span {
        color: #fff;
        font-weight: bold;
        transition: 0.5s;
        font-size: 20rem;
      }
    }
  }
}

.download:hover {
  cursor: pointer;
  /* background: rgb(13, 173, 7); */
  font-family: "华文彩云";
  font-size: 20rem;
  transition: all 1s;
  /* transform: scale(1.5); */
}
</style>